<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>SDU Vikings' LiveView</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta charset="utf-8" />
        
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">
        
        <link href='http://fonts.googleapis.com/css?family=Play:400,700' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="css/normalize.css">
        <link rel="stylesheet" href="css/liveview.css">
        
        <script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
        <script src="js/highcharts.js"></script>
        <script src="js/liveview.js"></script>
        <script src="js/websocket.js"></script>
    </head>
    <body>
        <div id="topbar" class="clearfix">
            <div class="clearfix">
                <div id="speed">
                    <span>108</span>
                </div>
                <div id="power">
                    <span>96</span> kW
                </div>
                <div id="status">
                    
                </div>
            </div>
            <ul id="topmenu" class="clearfix">
                <li id="battery" class="active">Battery</li>
                <li id="charts">Charts</li>
                <li id="nodes">Nodes</li>
                <li id="alldata">All data</li>
            </ul>
<!--            <div id="connection">
                <input type="text" id="connection-string" value="127.0.0.1:9989" placeholder="127.0.0.1:9989"/>
                <button id="connect">Connect</button>
            </div>-->
        </div>
        
        <div id="wrap">
            <div id="battery-tab" class="tab active">
                <div class="row data-row clearfix">
                    <div id="soc">
                        <h3>State of <span>charge</span></h3>
                        <div id="soc-gauge"></div>
                        <span id="soc-value">--</span>
                    </div>
                    <div id="banks">
                        <img src="img/battery-pack.png" />
                    </div>
                    <div id="battery-totals">
                        <div>
                            <span id="total-voltage" class="value">--</span>
                            <span class="unit">V</span>
                            <span class="desc">total voltage</span>
                        </div>
                        <div>
                            <span id="total-current" class="value">--</span>
                            <span class="unit">A</span>
                            <span class="desc">total current</span>
                        </div>
                        <div>
                            <span id="total-temperature" class="value">--</span>
                            <span class="unit">ºC</span>
                            <span class="desc">temperature</span>
                        </div>
                    </div>
                </div>
                <div class="row banks-row clearfix">
                    <div class="bank-chart">
                        <span>1</span>
                        <div id="bank1-chart">
                            
                        </div>
                    </div>
                    <div class="bank-chart">
                        <span>2</span>
                        <div id="bank2-chart">
                            
                        </div>
                    </div>
                    <div class="bank-chart">
                        <span>3</span>
                        <div id="bank3-chart">
                            
                        </div>
                    </div>
                </div>
                <div class="row banks-row clearfix">
                    <div class="bank-chart">
                        <span>4</span>
                        <div id="bank4-chart">
                            
                        </div>
                    </div>
                    <div class="bank-chart">
                        <span>5</span>
                        <div id="bank5-chart">
                            
                        </div>
                    </div>
                    <div class="bank-chart">
                        <span>6</span>
                        <div id="bank6-chart">
                            
                        </div>
                    </div>
                </div>
            </div>
            <div id="charts-tab" class="tab">
                <div style="padding: 5%;"><h2>Not implemented yet</h2></div>
            </div>
            <div id="nodes-tab" class="tab">
                <div style="padding: 5%;"><h2>Not implemented yet</h2></div>
            </div>
            <div id="alldata-tab" class="tab">
                <div id="registers" class="clearfix"></div>
            </div>
            
        </div>
    </body>
</html>
